package com.da.auth.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: hyacinth
 * @CreateTime: 2025-01-21
 * @Version: 1.0
 */
@Mapper
public interface CommonMapper<T> {

    int queryCountByCondition(@Param("tableName") String tableName, @Param("field") String field, @Param("field1") String field1);

    T queryDataById(@Param("tableName") String tableName, @Param("field1") String field1);


}
